 package com.education.platform.api.service;

 import com.education.platform.common.service.BaseService;
 import com.education.platform.dao.entity.QuestionBankDO;

 import java.util.List;

 /**
* describe: 题库
* @author : tomato
* @date: 2020-06-06 02:55:52.991
**/
public interface QuestionBankService  extends BaseService<QuestionBankDO> {

     /**
      * 获取随机题目
      * @param questionBankDO
      * @return
      */
     List<QuestionBankDO> getRandomList(QuestionBankDO questionBankDO);

     /**
      * 获取试卷题目
      * @param paperId
      * @return
      */
     List<QuestionBankDO> getQuestionsByPaperId(Integer paperId);
}
